package com.ruoyi.project.cms.taskdelayask.mapper;

import com.ruoyi.project.cms.taskdelayask.domain.Delayapply;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DelayapplyMapper {

    List<Delayapply> selectAll(Delayapply delayapply , String roleName);

    int insert(Delayapply delayapply);

    int add(Delayapply delayapply);

    @Select("select aid from delay_apply  where aname = #{aname}")
    int selectOne(String aname);

    int delect(int ids);

    int find(int ids);

    int delectCh(int cid);

    Delayapply select(int aid);

    int update(Delayapply delayapply);

    int updateDelay(Delayapply delayapply,int cid);
}
